package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工薪资v1.0对象 salary_base_v1
 * 
 * @author ruoyi
 * @date 2021-09-10
 */
public class SalaryBaseV1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 年月 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "工资发放年月", width = 30, dateFormat = "yyyy-MM")
    private Date salaryYearMonth;

	/** 员工姓名 */
	@Excel(name = "员工姓名")
	private String userName;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hireDate;

    /** 离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveDate;

    /** 部门 */
    @Excel(name = "部门")
    private String deptName;

    /** 小组名称 */
    @Excel(name = "小组名称")
    private String groupName;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String postName;

    /** 实际基本工资 */
    @Excel(name = "实际基本工资")
    private String baseSalary;

    /** 其他薪资合计 */
    @Excel(name = "其他薪资合计")
    private String otherSalary;

    /** 税前薪资 */
    @Excel(name = "税前薪资")
    private String preSalary;

    /** 实发工资 */
    @Excel(name = "实发工资")
    private String realitySalary;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSalaryYearMonth(Date salaryYearMonth) 
    {
        this.salaryYearMonth = salaryYearMonth;
    }

    public Date getSalaryYearMonth() 
    {
        return salaryYearMonth;
    }
    public void setHireDate(Date hireDate) 
    {
        this.hireDate = hireDate;
    }

    public Date getHireDate() 
    {
        return hireDate;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setLeaveDate(Date leaveDate) 
    {
        this.leaveDate = leaveDate;
    }

    public Date getLeaveDate() 
    {
        return leaveDate;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setBaseSalary(String baseSalary) 
    {
        this.baseSalary = baseSalary;
    }

    public String getBaseSalary() 
    {
        return baseSalary;
    }
    public void setOtherSalary(String otherSalary) 
    {
        this.otherSalary = otherSalary;
    }

    public String getOtherSalary() 
    {
        return otherSalary;
    }
    public void setPreSalary(String preSalary) 
    {
        this.preSalary = preSalary;
    }

    public String getPreSalary() 
    {
        return preSalary;
    }
    public void setRealitySalary(String realitySalary) 
    {
        this.realitySalary = realitySalary;
    }

    public String getRealitySalary() 
    {
        return realitySalary;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("salaryYearMonth", getSalaryYearMonth())
            .append("hireDate", getHireDate())
            .append("userName", getUserName())
            .append("leaveDate", getLeaveDate())
            .append("deptName", getDeptName())
            .append("groupName", getGroupName())
            .append("postName", getPostName())
            .append("baseSalary", getBaseSalary())
            .append("otherSalary", getOtherSalary())
            .append("preSalary", getPreSalary())
            .append("realitySalary", getRealitySalary())
            .toString();
    }
}
